<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	
	<span>ksghfdjsgbj</span>
	<p>东方大道</p>
	<script>

document.write(setInterval(new Date(),1000))


var cc = document.querySelector('span')
var ccp = document.querySelector('p')
console.log(cc);
cc.innerText='看了看'
console.log(cc.innerText);
console.log(ccp.innerText);
	</script>
</body>
</html>